2 using System.Collections.Generic;
5 using Microsoft.Xna.Framework;
6 using Microsoft.Xna.Framework.Graphics;
8 namespace SuperPolarity
10 static class ActorManager
12 static List<Actor> Actors;
16 Actors = new List<Actor>();
19 static public void CheckIn(Actor actor)
24 static public void CheckOut(Actor actor)
29 static public void Update(GameTime gameTime)
31 foreach (Actor actor in Actors)
33 actor.Update(gameTime);
37 static public void Draw(SpriteBatch spriteBatch)
39 foreach (Actor actor in Actors)
41 actor.Draw(spriteBatch);